<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="se"
	uri="http://www.springframework.org/security/tags"%>
<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
<script src="resources/js/main.js"></script>
<div class="header_logo_div" onclick="home()">
	<div class="header_logo_1">
		MT
		<p class="header_logo_2">H</p>
	</div>
	<div class="header_medical_top_kor">메디컬탑병원</div>
	<div class="header_medical_top_eng">MEDICAL TOP HOSPITAL</div>
</div>
<div class="header_login_join_text">
	<table>
		<tr class="width80pxtr">
			<se:authorize ifNotGranted="ROLE_USER,ROLE_ADMIN">
				<td class="width80px2"><a
					href="${pageContext.request.contextPath}/loginform.do"
					id="headerLink" class="width80px">로그인</a></td>
			</se:authorize>
			<se:authentication property="name" var="LoginUser" />
			<se:authorize ifAnyGranted="ROLE_USER,ROLE_ADMIN">
				<td class="width80px2" id="headerLink">${LoginUser}님</td>
			</se:authorize>
			<se:authorize ifAnyGranted="ROLE_USER,ROLE_ADMIN">
				<td class="width80px2"><a id="headerLink" id="headerLink"
					href="${pageContext.request.contextPath}/j_spring_security_logout">
						로그아웃</a></td>
			</se:authorize>
			<se:authorize ifNotGranted="ROLE_USER,ROLE_ADMIN">
				<td class="width80px2"><a id="headerLink" href="join.do">회원가입</a></td>
			</se:authorize>
			<td class="width80px2"><a id="headerLink" href="notice.do">병원소식</a></td>
		</tr>
	</table>
</div>